Stop tty0 from flooding your logs!

I had a strange behaviour on my debian 10 lately: my tty0 starts flooding my log every minute, annoying me about its restart.

Mar 21 14:12:34 server systemd[1]: getty@getty.service: Service has no hold-off time (RestartSec=0), scheduling restart.
Mar 21 14:12:34 server  systemd[1]: getty@getty.service: Scheduled restart job, restart counter is at 7166.
Mar 21 14:12:34 server systemd[1]: Stopped Getty on getty.
Mar 21 14:12:34 server systemd[1]: Started Getty on getty.

There is a simple workaround: edit your /etc/systemd/journald.conf and set this

MaxLevelSyslog=warning

That’s all, restart your beast and everything will be cleaner 🙂

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *

Dimensione massima dei file caricabili: 30 MB. Puoi caricare: immagine, audio, video, documento, foglio di calcolo, interattivo, testo, archivio, codice, altro. I link a YouTube, Facebook, Twitter e altri servizi inseriti nel testo dei commenti saranno automaticamente incorporati. Rilascia il file qui